home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 201-220 / scopedisk214 / skeleton / readme < prev    next >
Text File  |  1995-03-19  |  2KB  |  46 lines

  1. This archive and all files included (except classglue.o) are herby placed
  2. in the Public Domain.
  3.  
  4. Yes I said public domain, modify them, sell them, do whatever you want with
  5. them.
  6.  
  7. files in this archive:
  8.  
  9. skeleton/
  10.  
  11.      dispatch.c     - source to the class dispatcher.
  12.      public.c         - source to the public class funtions.
  13.      private.c         - source to the private class functions.
  14.  
  15.      skeleton_internal.h     - header internal to the class.
  16.      classglue.h             - header for glue functions. ( DoMethod() etc..)
  17.      skeleton.h             - public header for skeleton class.
  18.  
  19.      testclass.c     - source to the test program.
  20.      testclass         - the test program.
  21.  
  22.      lmkfile          - the make file to create class object and test program.
  23.      skeleton.doc     - documentation for skeleton class.
  24.  
  25.      classglue.o     - glue routines. ( DoMethod() etc.. )
  26.  
  27. This is a skeleton class I whipped up, serves as a decent example of
  28. how to implement a private (almost public) class, with SAS/C.
  29. ...and serves as a good skeleton for creation of new classes :^).
  30.  
  31. the only thing Sas/C specific is the dispatcher routine. I used
  32. the __asm to avoid the use of assembler stubs.
  33.  
  34. Thanks goes to Jim Mackraz for his examples of BOOPSI programming, also for
  35. his assembler stub routines.  The asm source to these routines can be found
  36. on the disk included with the Amiga World Tech Journal Issue #3. I had to
  37. slightly modify the routines (syntax only) to help my assembler along.
  38.  
  39. Chris...
  40.  
  41.  
  42. Christian E. Hopps
  43. bix: chopps
  44. Usenet: uunet!mailrus!wsu-cs!ro-chp!chopps  ||
  45. cs.wayne.edu!ro-chp!chopps
  46.